import { configureStore } from '@reduxjs/toolkit'
import { counterSlice } from '@/store/modules/couterSlice'
import { userSlice } from './modules/userSlice'
import { collapseSlice } from './modules/collapseSlice'
import { cartSlice } from './modules/cartSlice'

export const store = configureStore({
    reducer: {
        counter: counterSlice.reducer,
        user: userSlice.reducer,
        collapse: collapseSlice.reducer,
        cart: cartSlice.reducer
    },
})